﻿using Shop.Model.DB;
using Shop.Model.Spec;
using Shop.Model.SpecGroup;

namespace Shop.Repository
{
    public interface IGoodsSpecRepository : IShopBaseRepository<DBGoodsSpec, long>
    {
        void SetSort (Dictionary<long, int> sorts);
        long Add (GoodsSpecAddDto dto);
        GoodsSpecDto[] Gets (long goodsId);
        SpecDto[] GetsSpec (long[] ids);
    }
}